using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace ns
{
    ///<summary>
    ///
    ///</summary>
    public class WaterTrigger : FSMTrigger
    {
        public override bool HandleTrigger(FSMBase fsm)
        {
            if( fsm.WaterTile == fsm.specialTiles["water1"]) return true;
            if (fsm.WaterTile == fsm.specialTiles["water2"]) return true;
            return false;
        }
        public override void Init()
        {
            TriggerID = FSMTriggerID.Water;
        }
    }
}
